Optimal. Leaf size=25 \[ \frac{b \cosh (c+d x)}{d}-\frac{a \tanh ^{-1}(\cosh (c+d x))}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0350184, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.105, Rules used = {3014, 3770} \[ \frac{b \cosh (c+d x)}{d}-\frac{a \tanh ^{-1}(\cosh (c+d x))}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3014
Rule 3770
Rubi steps
\begin{align*} \int \text{csch}(c+d x) \left (a+b \sinh ^2(c+d x)\right ) \, dx &=\frac{b \cosh (c+d x)}{d}+a \int \text{csch}(c+d x) \, dx\\ &=-\frac{a \tanh ^{-1}(\cosh (c+d x))}{d}+\frac{b \cosh (c+d x)}{d}\\ \end{align*}
Mathematica [B] time = 0.0315701, size = 62, normalized size = 2.48 \[ \frac{a \log \left (\sinh \left (\frac{c}{2}+\frac{d x}{2}\right )\right )}{d}-\frac{a \log \left (\cosh \left (\frac{c}{2}+\frac{d x}{2}\right )\right )}{d}+\frac{b \sinh (c) \sinh (d x)}{d}+\frac{b \cosh (c) \cosh (d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.029, size = 24, normalized size = 1. \begin{align*}{\frac{-2\,a{\it Artanh} \left ({{\rm e}^{dx+c}} \right ) +b\cosh \left ( dx+c \right ) }{d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.04059, size = 58, normalized size = 2.32 \begin{align*} \frac{1}{2} \, b{\left (\frac{e^{\left (d x + c\right )}}{d} + \frac{e^{\left (-d x - c\right )}}{d}\right )} + \frac{a \log \left (\tanh \left (\frac{1}{2} \, d x + \frac{1}{2} \, c\right )\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.9737, size = 374, normalized size = 14.96 \begin{align*} \frac{b \cosh \left (d x + c\right )^{2} + 2 \, b \cosh \left (d x + c\right ) \sinh \left (d x + c\right ) + b \sinh \left (d x + c\right )^{2} - 2 \,{\left (a \cosh \left (d x + c\right ) + a \sinh \left (d x + c\right )\right )} \log \left (\cosh \left (d x + c\right ) + \sinh \left (d x + c\right ) + 1\right ) + 2 \,{\left (a \cosh \left (d x + c\right ) + a \sinh \left (d x + c\right )\right )} \log \left (\cosh \left (d x + c\right ) + \sinh \left (d x + c\right ) - 1\right ) + b}{2 \,{\left (d \cosh \left (d x + c\right ) + d \sinh \left (d x + c\right )\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.2144, size = 78, normalized size = 3.12 \begin{align*} \frac{b e^{\left (d x + c\right )}}{2 \, d} + \frac{b e^{\left (-d x - c\right )}}{2 \, d} - \frac{a \log \left (e^{\left (d x + c\right )} + 1\right )}{d} + \frac{a \log \left ({\left | e^{\left (d x + c\right )} - 1 \right |}\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]